﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
namespace IsikFx.Project.Utils
{
    public class ExceptionHelper
    {
        public static void HandleException(Exception ex, Type exceptionDomain)
        {
            ILog logger = LogManager.GetLogger(exceptionDomain);
            logger.Error(ex.Message);
            logger.Error(ex.StackTrace);
        }
    }
}
